---
id: 655a12c2ab0bcc0c2ba30e16
title: 7° passo
challengeType: 20
dashedName: step-7
---

# --description--

Within the `BinarySearchTree` class, replace `pass` with an `__init__` method and add a `self` parameter to this method.

# --hints--

You should define an `__init__` method and add a `self` parameter to this method. Remember to use the `pass` keyword.

```js
({ test: () => assert.match(code, /^\s{4}def\s+__init__\s*\(\s*self\s*\)\s*:/m) })
```

# --seed--

## --seed-contents--

```py
class TreeNode:
    def __init__(self, key):
        self.key = key
        self.left = None
        self.right = None

--fcc-editable-region--
class BinarySearchTree:
    pass
--fcc-editable-region--
```
